package com.jianying.beans;

import lombok.Data;

/**
 * ClassName: WaterSensor
 * Package: com.atguigu.beans
 * Description:
 *
 * @Author: tubage
 * @Create: 2024/4/1 10:46
 * @Version: 1.0
 */
@Data
public class WaterSensor {
    public String id; //水位传感器类型
    public Long ts ;  // 传感器记录时间戳
    public Integer vc ; //水位记录


    public WaterSensor() {
    }

    public WaterSensor(String id, Long ts, Integer vc) {
        this.id = id;
        this.ts = ts;
        this.vc = vc;
    }
    @Override
    public String toString() {
        return "WaterSensor{" +
                "id='" + id + '\'' +
                ", ts=" + ts +
                ", vc=" + vc +
                '}';
    }
}
